#ifndef UI_SCROLLBAR_H
#define UI_SCROLLBAR_H

#include <qscrollbar.h>
//Added by qt3to4:
#include <QWheelEvent>
#include "gui_export.h"

/**
 * A small wrapper for the Qt scrollbar. This class offers a slot
 * for scroll events.
 */
class GUI_EXPORT UI_ScrollBar: public QScrollBar {
    Q_OBJECT

public:
    UI_ScrollBar(QWidget* parent=0, const char* name=0)
            : QScrollBar(parent, name) {}
    UI_ScrollBar(Qt::Orientation orientation,
                 QWidget* parent=0, const char* name=0)
            : QScrollBar(orientation, parent, name) {}

public slots:
    void slotWheelEvent(QWheelEvent* e) {
        wheelEvent(e);
    }

};

#endif

